package com.randi.file.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 分片合并状态
 * @author ziye
 */
@Getter
public enum FileSliceMergeStatusEnum {

    /**
     * 等待
     */
    AWAIT("await"),
    /**
     * 成功
     */
    SUCCESS("success"),
    /**
     * 失败
     */
    FAIL("fail");

    @EnumValue
    private final String value;

    FileSliceMergeStatusEnum(String value) {
        this.value = value;
    }
}
